import request from '@/utils/request'

// 获取软件信息
export function getAbout(deviceId, projectCode) {
	let data = {
		deviceId,
		projectCode
	}
	return request({
		'url': '/version/getVersionInfo',
		'method': 'post',
		'params': data
	})
}

// 获取协议地址
export function getAgreements() {
	return request({
		'url': '/wap/agreement',
		'method': 'get',
	})
}